//
//  ProductOrderListModel.m
//  MobileShoppingMall
//
//  Created by 冯传昌 on 2021/5/6.
//  Copyright © 2021 冯传昌. All rights reserved.
//

#import "ProductOrderListModel.h"

@implementation ProductOrderListModel


+(ProductOrderListModel *)paraWithDict:(NSDictionary *)dict{
    ProductOrderListModel *model;
    model = [ProductOrderListModel yy_modelWithDictionary:dict];
    
    NSArray *arr = model.items;
    NSMutableArray *arr1 = [NSMutableArray array];
    for (NSDictionary *dic in arr) {
        ProductOrderModel *orderM = [ProductOrderModel paraWithDict:dic];
        [arr1 addObject:orderM];
    }
    model.items = (NSArray *)arr1;
    
    model.cellHeight = 170 + model.items.count*110;
    return model;
}


@end
